﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmartSpace.Core
{
    public class RolePrivilege
    {
        public Guid RoleId { get; set; }
        public Guid PrivilegeId { get; set; }
        public Guid SourceRoleId { get; set; }

        /// <summary>
        /// OWN:角色本身具有的权限
        /// INHERITED:通过继承而来的权限
        /// COMPLEX:复合类型，自己拥有，同时也通过继承获得
        /// </summary>
        public string Type { get; set; }
    }
}
